package com.mapull.example.section1;

import java.util.Locale;

/**
 * StringUpperCase
 *
 * @author mapull
 * @date 2021-09-06
 * @since 1.0
 **/
public class StringUpperCase {
    public static void main(String[] args) {
        System.out.println("Je t’aime,Je t’adore".toUpperCase(Locale.US));
        System.out.println("Je t’aime,Je t’adore".toUpperCase(Locale.FRANCE));
    }
    public static void main1(String[] args) {
        String string = "hello world";
        String uppercaseString = string.toUpperCase();
        System.out.println(uppercaseString);
    }
}
